class Animal():
    def eat(self):
        print('eat...')

    def sleep(self):
         print('sleep...')


class Dog(Animal):
    
    def run(self):
        print('run...')

    def sleep(self):
         print('Dog is sleep...')


d = Dog()
d.eat()
d.sleep()
d.run()

# result = isinstance(d,Dog)
result = isinstance(d,Animal)
print(result)